package com.lili.operate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lili.model.operate.CustomWords;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface CustomWordsMapper extends BaseMapper<CustomWords> {

    /**
     * 更新分词内容
     * @param name
     * @param id
     * @return
     */
    public int updateCustomWords(String name,long id);

    /**
     * 更新分词内容
     * @param id
     * @return
     */
    public int deleteCustomWords(long id);
}
